package com.zero.mapper;

import com.zero.entity.Condition;
import com.zero.entity.Pay;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PayMapper {

    int add(Pay pay);

    int delete(int id);

    int update(Pay pay);

    List<Pay> select(Pay pay);

    Pay selectById(int id);

    List<Pay> selectByConditon(Condition condition);

    List<Pay> selectByDate(Map map);
}
